package uk.ac.cam.cl.projectcharlie2010.hardwaremove;

public interface Protocol {
    
    // protocol manager handles each received byte
    void onReceive(byte b);
    
    // protocol manager handles broken stream
    void onStreamClosed();
}
